package com.yunc.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 用户报销表
 *
 * @author concong tao
 * @since 2019-03-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("oa_reimburse")
public class Reimburse implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 请假用户
     */
    private Long userId;

    /**
     * 报销金额
     */
    private Double money;

    /**
     * 报销事由
     */
    private String content;

    /**
     * 附件
     */
    private String attachment;

    /**
     * 状态1=临时保存2=已提交
     */
    private String status;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private String assignee;
}
